import type { App } from 'vue'
import trimInput from './trimInput'

/**
 * 注册全局指令
 */
export function setupDirectives(app: App) {
  // 注册自动去除空格指令
  app.directive('trim-input', trimInput)
}

export {
  trimInput
}
